package cn.linkstudy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * AI教育平台后端主启动类
 * 负责Spring Boot应用的启动与基础配置
 */
@SpringBootApplication
@MapperScan("cn.linkstudy.mapper")
@EnableScheduling
public class AiEducateApplication {

    public static void main(String[] args) {
        // 启动Spring Boot应用
        SpringApplication.run(AiEducateApplication.class, args);
        System.out.println("AI教育平台启动成功！");
        System.out.println("访问地址: http://localhost:8080/api");
    }
}